How to Add a Shortcut in a Form with Go To and Target Commands

Description

Applications with a lot of fields can be cumbersome to navigate. The Go To Target and Target Commands can be used to create shortcuts in your apps to places users commonly need to find.

Go To and Target Commands can be used to jump to any location within a form design.

Discussion

To add a Go To button that jumps to another location in your form when tapped, you need to add two commands: Define Target and Go To Target.

Adding the Define Target Command

Before adding a Go To Target command to your form, you first need to define the target, which is the location in the form that will be shown when the user taps the Go To Target command button.

  1. On the Designer tab, select the Form Type to modify and click the Edit Form Commands button to open the Form Type Editor.

  2. Click the + Add new command icon.

  3. Select Define Target from the list of commands.

  4. Enter the name of the Target in Target Name.

  5. Optionally set the Label in Table of Contents -- this text is shown in the Table of Contents for the form in the filler app.

  6. If the Target is not at the location where you'd like the user to go when they tap the Go To Target button, move the Target to the desired location in the form.

Adding the Go To Target Command

Now that you have a Target command, you can add the Go To Target command button to the app.

  1. Click the + Add new command icon.

  2. Select Go To Target from the list of commands.

  3. Enter the name of the Target in Target Name. This should be identical to the value you set in Target Name for the Target command.

  4. Enter the Go To Message text. This text is shown in the Go To Target command button in the form.

  5. Save and and upload your form.

In addition to the Go To Target command, you can also use TPL to go to a Target using the goToTarget() TPL Function.